package zirao.paylib;

public class PayResult {
	public static final String RESULT_SUCCESS = "SUCCESS";
	public static final String RESULT_CANCEL = "CANCEL";
	public static final String RESULT_FAIL = "FAIL";
	public static final String RESULT_UNKNOWN = "UNKNOWN";

	private String result;
	private String errorDetail;
	private String resultDetail;

	// PayResult.RESULT_SUCCESS
	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}

	// 错误详细描述
	public String getErrorDetail() {
		return errorDetail;
	}

	public void setErrorDetail(String errorDetail) {
		this.errorDetail = errorDetail;
	}

	// 返回结果详细内容如果支付方式为支付宝则是返回的json内容
	public String getResultDetail() {
		return resultDetail;
	}

	public void setResultDetail(String resultDetail) {
		this.resultDetail = resultDetail;
	}

}
